package com.ruoyi.system.domain;

import java.math.BigDecimal;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.annotation.Excel.ColumnType;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * MBTI人格类型描述对象 mbti_personality_type
 * 
 * @author ruoyi
 * @date 2025-01-21
 */
public class MbtiPersonalityType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 类型ID */
    @Excel(name = "类型ID", cellType = ColumnType.NUMERIC)
    private Long typeId;

    /** 类型编码(如INTJ) */
    @Excel(name = "类型编码")
    @NotBlank(message = "类型编码不能为空")
    @Size(min = 0, max = 10, message = "类型编码不能超过10个字符")
    private String typeCode;

    /** 类型名称 */
    @Excel(name = "类型名称")
    @NotBlank(message = "类型名称不能为空")
    @Size(min = 0, max = 100, message = "类型名称不能超过100个字符")
    private String typeName;

    /** 类型昵称 */
    @Excel(name = "类型昵称")
    @Size(min = 0, max = 100, message = "类型昵称不能超过100个字符")
    private String typeNickname;

    /** 详细描述 */
    @Excel(name = "详细描述")
    private String description;

    /** 优势特点 */
    @Excel(name = "优势特点")
    private String strengths;

    /** 劣势特点 */
    @Excel(name = "劣势特点")
    private String weaknesses;

    /** 职业建议 */
    @Excel(name = "职业建议")
    private String careerSuggestions;

    /** 人际关系建议 */
    @Excel(name = "人际关系建议")
    private String relationshipTips;

    /** 著名人物 */
    @Excel(name = "著名人物")
    private String famousPeople;

    /** 人群占比 */
    @Excel(name = "人群占比", cellType = ColumnType.NUMERIC)
    private BigDecimal percentage;

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    public void setTypeCode(String typeCode) 
    {
        this.typeCode = typeCode;
    }

    public String getTypeCode() 
    {
        return typeCode;
    }

    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }

    public void setTypeNickname(String typeNickname) 
    {
        this.typeNickname = typeNickname;
    }

    public String getTypeNickname() 
    {
        return typeNickname;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setStrengths(String strengths) 
    {
        this.strengths = strengths;
    }

    public String getStrengths() 
    {
        return strengths;
    }

    public void setWeaknesses(String weaknesses) 
    {
        this.weaknesses = weaknesses;
    }

    public String getWeaknesses() 
    {
        return weaknesses;
    }

    public void setCareerSuggestions(String careerSuggestions) 
    {
        this.careerSuggestions = careerSuggestions;
    }

    public String getCareerSuggestions() 
    {
        return careerSuggestions;
    }

    public void setRelationshipTips(String relationshipTips) 
    {
        this.relationshipTips = relationshipTips;
    }

    public String getRelationshipTips() 
    {
        return relationshipTips;
    }

    public void setFamousPeople(String famousPeople) 
    {
        this.famousPeople = famousPeople;
    }

    public String getFamousPeople() 
    {
        return famousPeople;
    }

    public void setPercentage(BigDecimal percentage) 
    {
        this.percentage = percentage;
    }

    public BigDecimal getPercentage() 
    {
        return percentage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("typeCode", getTypeCode())
            .append("typeName", getTypeName())
            .append("typeNickname", getTypeNickname())
            .append("description", getDescription())
            .append("strengths", getStrengths())
            .append("weaknesses", getWeaknesses())
            .append("careerSuggestions", getCareerSuggestions())
            .append("relationshipTips", getRelationshipTips())
            .append("famousPeople", getFamousPeople())
            .append("percentage", getPercentage())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
